package jsproto.c2s.cclass.union;


import jsproto.c2s.cclass.club.Club_define;
import jsproto.c2s.cclass.room.RobotRoomConfig2;

/**
 * 创建房间配置
 *
 * @author Administrator
 */
public class UnionCreateGameSetInfo<T> {
    /**
     * 配置Id
     */
    private long id;
    /**
     * 游戏配置
     */
    private T bRoomConfigure;
    /**
     * 游戏名称
     */
    private int gameId;
    /**
     * 当前设置状态
     */
    private int status = UnionDefine.UNION_CREATE_GAME_SET_STATUS.UNION_CRATE_GAME_SET_STATUS_NOMARL.value();
    /**
     * 启用状态
     */
    private int banStatus= Club_define.CLUB_OPEN_CLOSE_STATUS.OPEN.ordinal();
    // 机器人房间配置 zhaozw
    private RobotRoomConfig2 robotRoomCfg2 = null;

    public UnionCreateGameSetInfo(long id, T bRoomConfigure, int status, int gameId) {
        super();
        this.id = id;
        this.bRoomConfigure = bRoomConfigure;
        this.status = status;
        this.gameId = gameId;
    }

    public UnionCreateGameSetInfo(long id, T bRoomConfigure, int status, int gameId,RobotRoomConfig2 robotRoomCfg2) {
        super();
        this.id = id;
        this.bRoomConfigure = bRoomConfigure;
        this.status = status;
        this.gameId = gameId;
        this.robotRoomCfg2 = robotRoomCfg2;
    }
    public UnionCreateGameSetInfo(long id, T bRoomConfigure, int status, int gameId,int banStatus) {
        super();
        this.id = id;
        this.bRoomConfigure = bRoomConfigure;
        this.status = status;
        this.gameId = gameId;
        this.banStatus = banStatus;
    }
}
